package com.zzdn.mqtool.service;

import com.zzdn.mqtool.entity.MQConfig;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface MQService {

    public Map<String,Object> doSendXml(String xmlContent,int priority,String messageId,String correlationId, HttpServletRequest request);

    public Map<String,Object> saveMqConfig(MQConfig config,HttpServletRequest request);

    public Map<String,Object> getXmlTemplate(String tradeNo);

    public Map<String,Object> getDefault();

    public Map<String,Object> getUserConfig(HttpServletRequest request);

}
